<template>
  <div class="willplay">
    <FilmList :films="film"></FilmList>
  </div>
</template>

<script>
import FilmList from "@/components/FilmList";

export default {
  name: "Willplay",
  components: { FilmList },
  data() {
    return {
      film: [], //即将上映
    };
  },
  mounted() {
    this.$store.dispatch("getWillAction");
    this.film = JSON.parse(sessionStorage.getItem("vuex")).willFilmList.films;
  },
  methods: {},
};
</script>

<style lang="less" scoped>
</style>